/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Core;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 *
 * @author tangd
 */
public class SqlConnection {
    private String target;
    public SqlConnection(String target) {
        this.target = target;
    }
    public Connection getConnection() throws SQLException {
        return DriverManager.getConnection(target);
    }
}
